package com.med.meddataintegrator.common.pojo.dos;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName lb_appointment
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AppointmentDo  {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 患者id
     */
    private Integer patientId;

    /**
     * 医生id
     */
    private Integer doctorId;

    /**
     * 预约时间
     */
    @JsonFormat(pattern = "yyyy-MM-d", timezone = "GMT+8")
    private Date time;

    /**
     * 门诊费
     */
    private BigDecimal expenses;

    /**
     * 就诊状态
     */
    private String status;
    @ApiModelProperty(value = "患者姓名")
    private String patientName;
    @ApiModelProperty(value = "医生姓名")
    private String doctorName;

}